Skip to main content
Version: 7.0.0

Condition

Structure

|- condition
|- [condition name]
|- version
|- [version name]
|- data.json
|- execute.js
|- data.json

Condition configuration on data.json requires following basic structure

{
"id": "5e1fa437-379e-4fe6-aed2-46550d816255",
"name": "is.empty"
}

If id is not provided, CLI will autogenerate it and insert it into the file before creating a new condition. If id is provided, CLI will update the condition with that id.